package com.ruoyi.system.controller;

import com.ruoyi.common.core.domain.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

/**
 * @author xdh
 * @title SysAPiController
 * @date 2024/7/5 15:37
 * @description TODO
 */
@RestController
@RequestMapping("/api")
@Api(tags = "请求公安相关接口")
public class SysApiController {

    @ApiOperation("是否重点人员")
    @GetMapping("/keynote")
    public R<Boolean> list(@RequestParam("indo") String indo)  {
        if(indo.equals("12345678910")){
            return R.ok(true);
        }
        return R.ok(false);
    }
}
